<div id="belly" class="account">
    <h1><?=$data->TITLE?></h1>
    <h2><?=$data->DESCRIPTION?></h2>
<?switch ($data->account->reset){ 
    case 200:?>
    <form id="form" method="post" action="/json<?=PREFIX.'/'.APP.'/'.CMD?>">
        <div class="formLineDark">
            <label class="formLabel"><?=_('New password')?>:  </label>
            <span class="input required">
            <input id="pass" name="pass" type="password" tabindex="1" /></span>
        <span class="clear"></span>
        </div>
        <div class="formLineLight">
            <label class="formLabel"><?=_('Confirm password')?>:  </label>
            <span class="input required"><input id="repass" name="repass" type="password" tabindex="2" /></span>
        <span class="clear"></span>
        </div>
        <div class="formLineLight">
            <span class="submit">
                <span id="loader" class="loader"><img src="/themes/<?=THEME?>/images/loader.gif" alt="loader" /></span>
                <input name="code" type="hidden" value="<?=PARAMS?>" />
                <input id="submit" class="submit" type="submit" value="<?=_('Change password')?>" tabindex="3" />
                <span class="clear"></span>
            </span>
        <span class="clear"></span>
        </div>
    </form>
<script type="text/javascript"> tool.form(); </script>
    <?break;
    case 600:?>
    <p><?=sprintf(_('If you need to reset your password again please go through the "%sforgot your password%s" process again.'),sprintf('<a href="/'.LANG.'/account/forgot" title="%s">',_('forgot your password?')),'</a>');?></p>
    <?break;
}?>
<div class="clear"></div>
</div>
<div id="flank">
    <?include 'themes/'.THEME.'/dashboard.html'?>
</div>